<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>订单详情 - 外卖APP</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css">
    <style>
        :root {
            --primary-color: #2563eb;
            --secondary-color: #3b82f6;
            --accent-color: #f59e0b;
            --text-primary: #1f2937;
            --text-secondary: #4b5563;
            --background-light: #f8fafc;
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --danger-color: #ef4444;
        }

        body {
            margin: 0;
            padding: 0;
            background: #f5f5f5;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        }

        .phone-container {
            width: 390px;
            height: 844px;
            margin: 20px auto;
            background: var(--background-light);
            position: relative;
            overflow: hidden;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
            border-radius: 40px;
        }

        .content {
            height: 100%;
            overflow-y: auto;
            padding-bottom: 80px;
        }

        .content::-webkit-scrollbar {
            width: 0;
        }

        .header {
            padding: 15px;
            background: white;
            position: sticky;
            top: 0;
            z-index: 100;
            display: flex;
            align-items: center;
            gap: 15px;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

        .back-button {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-primary);
            text-decoration: none;
        }

        .header-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
            flex: 1;
        }

        .status-card {
            background: var(--primary-color);
            color: white;
            padding: 20px;
        }

        .status-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .status-desc {
            font-size: 14px;
            opacity: 0.9;
        }

        .info-card {
            background: white;
            border-radius: 12px;
            margin: 15px;
            padding: 15px;
        }

        .info-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 12px;
            color: var(--text-primary);
            font-weight: 500;
        }

        .info-header i {
            font-size: 18px;
        }

        .info-content {
            color: var(--text-secondary);
            font-size: 14px;
            line-height: 1.6;
        }

        .dish-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid #f3f4f6;
        }

        .dish-item:last-child {
            border-bottom: none;
        }

        .dish-img {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            object-fit: cover;
        }

        .dish-info {
            flex: 1;
        }

        .dish-name {
            font-size: 15px;
            color: var(--text-primary);
            margin-bottom: 4px;
        }

        .dish-price {
            font-size: 14px;
            color: var(--text-secondary);
        }

        .dish-quantity {
            font-size: 14px;
            color: var(--text-secondary);
        }

        .price-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            font-size: 14px;
            color: var(--text-secondary);
        }

        .total-price {
            display: flex;
            justify-content: space-between;
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid #f3f4f6;
            font-size: 16px;
            font-weight: 500;
            color: var(--text-primary);
        }

        .total-price .amount {
            color: #ee0a24;
        }

        .bottom-bar {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 12px 15px;
            background: white;
            display: flex;
            gap: 12px;
            border-top: 1px solid #f3f4f6;
        }

        .action-btn {
            flex: 1;
            padding: 12px;
            border: 1px solid #e5e7eb;
            border-radius: 24px;
            background: white;
            color: var(--text-secondary);
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .action-btn.primary {
            background: var(--primary-color);
            color: white;
            border: none;
        }

        .action-btn:hover {
            opacity: 0.9;
        }
    </style>
</head>
<body>
    <div class="phone-container">
        <div class="content">
            <div class="header">
                <a href="order.html" class="back-button">
                    <i class="bi bi-chevron-left"></i>
                </a>
                <div class="header-title">订单详情</div>
            </div>

            <div class="status-card">
                <div class="status-title">配送中</div>
                <div class="status-desc">骑手正在火速配送中，预计15:30送达</div>
            </div>

            <div class="info-card">
                <div class="info-header">
                    <i class="bi bi-geo-alt"></i>
                    配送信息
                </div>
                <div class="info-content">
                    <div>张先生 138****8888</div>
                    <div>广东省深圳市南山区科技园南区A栋3楼</div>
                </div>
            </div>

            <div class="info-card">
                <div class="info-header">
                    <i class="bi bi-shop"></i>
                    川味小馆
                </div>
                <div class="info-content">
                    <div class="dish-item">
                        <img src="https://images.unsplash.com/photo-1552566626-52f8b828add9?w=200" alt="麻婆豆腐" class="dish-img">
                        <div class="dish-info">
                            <div class="dish-name">麻婆豆腐</div>
                            <div class="dish-price">¥38/份</div>
                        </div>
                        <div class="dish-quantity">×2</div>
                    </div>
                    <div class="dish-item">
                        <img src="https://images.unsplash.com/photo-1562967914-608f82629710?w=200" alt="水煮鱼" class="dish-img">
                        <div class="dish-info">
                            <div class="dish-name">水煮鱼</div>
                            <div class="dish-price">¥48/份</div>
                        </div>
                        <div class="dish-quantity">×1</div>
                    </div>
                </div>
            </div>

            <div class="info-card">
                <div class="info-header">
                    <i class="bi bi-receipt"></i>
                    费用详情
                </div>
                <div class="info-content">
                    <div class="price-item">
                        <span>商品总价</span>
                        <span>¥124</span>
                    </div>
                    <div class="price-item">
                        <span>配送费</span>
                        <span>¥5</span>
                    </div>
                    <div class="price-item">
                        <span>优惠券</span>
                        <span>-¥15</span>
                    </div>
                    <div class="total-price">
                        <span>实付金额</span>
                        <span class="amount">¥114</span>
                    </div>
                </div>
            </div>

            <div class="info-card">
                <div class="info-header">
                    <i class="bi bi-info-circle"></i>
                    订单信息
                </div>
                <div class="info-content">
                    <div>订单编号：123456789</div>
                    <div>下单时间：2024-01-20 14:30:25</div>
                    <div>支付方式：微信支付</div>
                    <div>备注：不要放辣椒，多加一点醋</div>
                </div>
            </div>
        </div>

        <div class="bottom-bar">
            <button class="action-btn">联系商家</button>
            <button class="action-btn">联系骑手</button>
            <button class="action-btn primary">再来一单</button>
        </div>
    </div>
</body>
</html> 